﻿using System;
using System.Collections.Generic;
using System.Text;

namespace System
{
    /// <summary>
    /// 数据源
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public class DbSourceAttribute : Attribute
    {
        public DbSourceAttribute(string name)
        {
            this.Name = name;
        }

        /// <summary>
        /// 数据源名称
        /// </summary>
        public string Name { get; set; }
    }
}
